define(function () {
    return function (goods) {
        let znum = 0
        for (let i = 0; i < goods.length; i++) {
            if (goods[i].status === "icon-gouxuankuang1") {
                znum += goods[i].num - 0;
            }
        }
        $(".piece").html(znum)
    }
})